home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / wdj0697.zip / WIESMAN.ZIP / CLOCKCTL.H < prev    next >
C/C++ Source or Header  |  1997-01-05  |  840b  |  40 lines

  1. // ClockCtl.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CClockControl window
  6.  
  7. class CClockControl : public CWnd
  8. {
  9. // Construction
  10. public:
  11.     void SetToCurrentTime();
  12.     CClockControl();
  13.  
  14. // Attributes
  15. public:
  16.     short    m_nHours;    // 0 - 11
  17.     short    m_nMinutes;    // 0 - 59
  18.     short    m_nSeconds;    // 0 - 59
  19. // Operations
  20. public:
  21.     CPoint    GetHandPos(int nLen, int nDegrees);
  22. // Overrides
  23.     // ClassWizard generated virtual function overrides
  24.     //{{AFX_VIRTUAL(CClockControl)
  25.     //}}AFX_VIRTUAL
  26.  
  27. // Implementation
  28. public:
  29.     virtual ~CClockControl();
  30.  
  31.     // Generated message map functions
  32. protected:
  33.     //{{AFX_MSG(CClockControl)
  34.     afx_msg void OnPaint();
  35.     //}}AFX_MSG
  36.     DECLARE_MESSAGE_MAP()
  37. };
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40.